package com.bupt.ilink.entity.innovationPlaza;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

@Data
@TableName("innovation_user_like")
public class UserLike implements Serializable {
    private BigInteger projectId;
    private String userId;
    @TableField("like_time")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date likeTime;  // 点赞时间
}

